package com.woniu.account.client;

import com.woniu.account.client.model.VenueCertify;
import com.woniu.model.Result;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "venue-server", path = "/venue")
public interface VenueClient {


    @ApiOperation("根据场馆id查询场馆入驻信息")
    @GetMapping("/venueCertify/getVenueCertifyByVenueId/{id}")
    Result<VenueCertify> getVenueCertifyByVenueId(@PathVariable("id") Integer id);

    @ApiOperation("删除场馆管理员")
    @GetMapping("/venueAdmin/delete/{venueId}")
    public Result delete(@PathVariable(value = "venueId") Integer venueId);
}
